<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Slimore\Image\Gd | Slimore</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?49f43d3208c5d7e33fa16d36107a345bf11cc00d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">Slimore</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-Slimore.Image.html" title="Summary of Slimore\Image"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li>
						<a href="namespace-None.html">
							None						</a>
							</li>
					<li class="active">
						<a href="namespace-Slimore.html">
							Slimore<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.html">
							Cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-Slimore.Cache.Exception.html">
							Exception						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-Slimore.Captcha.html">
							Captcha						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Database.html">
							Database						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Debug.html">
							Debug						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Http.html">
							Http						</a>
							</li>
					<li class="active">
						<a href="namespace-Slimore.Image.html">
							Image						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Log.html">
							Log						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Middleware.html">
							Middleware						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Mvc.html">
							Mvc						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Pagination.html">
							Pagination						</a>
							</li>
					<li>
						<a href="namespace-Slimore.Upload.html">
							Upload						</a>
							</li>
								</ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-Slimore.Image.Gd.html">Gd</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class Gd</h1>


	<div class="description">
	<p>Class Gd</p>
	</div>









	<div class="alert alert-info">
		
		
		<b>Namespace:</b> <a href="namespace-Slimore.html">Slimore</a>\<a href="namespace-Slimore.Image.html">Image</a><br>
		<b>Package:</b> Slimore\Image<br>

				<b>Author:</b>
				Pandao<br>
			<b>Located at</b> <a href="source-class-Slimore.Image.Gd.html#17-883" title="Go to source code">Slimore/Image/Gd.php</a>
		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="__construct" id="___construct">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#___construct">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#86-101" title="Go to source code">__construct</a>( <span>string <var>$src</var> = <span class="php-quote">''</span></span> )</code>

			<div class="description short">
				<p>Constructor</p>
			</div>

			<div class="description detailed hidden">
				<p>Constructor</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$src</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="getGDInfo" id="_getGDInfo">

			<td class="attributes"><code>
				 public 
				array|string|boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getGDInfo">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#104-115" title="Go to source code">getGDInfo</a>( <span>string <var>$key</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Get GD information</p>
			</div>

			<div class="description detailed hidden">
				<p>Get GD information</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd>null</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array|string|boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getImageInfo" id="_getImageInfo">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getImageInfo">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#118-150" title="Go to source code">getImageInfo</a>( <span>string <var>$image</var></span> )</code>

			<div class="description short">
				<p>Get image info array</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image info array</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$image</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="ext" id="_ext">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_ext">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#153-161" title="Go to source code">ext</a>( )</code>

			<div class="description short">
				<p>Get image file extension</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image file extension</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="width" id="_width">

			<td class="attributes"><code>
				 public 
				number
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_width">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#164-172" title="Go to source code">width</a>( )</code>

			<div class="description short">
				<p>Get image width</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image width</p>



					<h4>Returns</h4>
					<div class="list">
						number
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="height" id="_height">

			<td class="attributes"><code>
				 public 
				number
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_height">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#175-183" title="Go to source code">height</a>( )</code>

			<div class="description short">
				<p>Get image height</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image height</p>



					<h4>Returns</h4>
					<div class="list">
						number
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="fileSize" id="_fileSize">

			<td class="attributes"><code>
				 public 
				number
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_fileSize">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#186-194" title="Go to source code">fileSize</a>( )</code>

			<div class="description short">
				<p>Get image file size</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image file size</p>



					<h4>Returns</h4>
					<div class="list">
						number
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getType" id="_getType">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getType">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#197-206" title="Go to source code">getType</a>( <span>string <var>$type</var></span> )</code>

			<div class="description short">
				<p>Get image type for imagecreatefromxxx</p>
			</div>

			<div class="description detailed hidden">
				<p>Get image type for imagecreatefromxxx</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$type</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="source" id="_source">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_source">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#209-224" title="Go to source code">source</a>( <span>string <var>$src</var></span> )</code>

			<div class="description short">
				<p>Set local image source</p>
			</div>

			<div class="description detailed hidden">
				<p>Set local image source</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$src</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="create" id="_create">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_create">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#227-267" title="Go to source code">create</a>( <span>integer <var>$width</var></span>, <span>integer <var>$height</var></span>, <span>string <var>$type</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Create new canvas image</p>
			</div>

			<div class="description detailed hidden">
				<p>Create new canvas image</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$width</var></dt>
						<dd></dd>
						<dt><var>$height</var></dt>
						<dd></dd>
						<dt><var>$type</var></dt>
						<dd>null</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="createFrom" id="_createFrom">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_createFrom">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#270-283" title="Go to source code">createFrom</a>( <span>string <var>$image</var></span> )</code>

			<div class="description short">
				<p>Create image from type</p>
			</div>

			<div class="description detailed hidden">
				<p>Create image from type</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$image</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="crop" id="_crop">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_crop">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#286-371" title="Go to source code">crop</a>( <span>integer <var>$width</var></span>, <span>integer <var>$height</var></span>, <span>string <var>$mode</var> = <span class="php-quote">'tl'</span></span> )</code>

			<div class="description short">
				<p>Crop image file</p>
			</div>

			<div class="description detailed hidden">
				<p>Crop image file</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$width</var></dt>
						<dd></dd>
						<dt><var>$height</var></dt>
						<dd></dd>
						<dt><var>$mode</var></dt>
						<dd>tl</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="thumb" id="_thumb">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_thumb">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#374-462" title="Go to source code">thumb</a>( <span>integer <var>$width</var></span>, <span>integer <var>$height</var></span>, <span>integer <var>$mode</var> = <span class="php-num">0</span></span>, <span>boolean <var>$amplify</var> = <span class="php-keyword1">false</span></span> )</code>

			<div class="description short">
				<p>Image thumbnail</p>
			</div>

			<div class="description detailed hidden">
				<p>Image thumbnail</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$width</var></dt>
						<dd></dd>
						<dt><var>$height</var></dt>
						<dd></dd>
						<dt><var>$mode</var></dt>
						<dd>0</dd>
						<dt><var>$amplify</var></dt>
						<dd>false</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this|bool
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="resize" id="_resize">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_resize">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#465-500" title="Go to source code">resize</a>( <span>integer <var>$width</var></span>, <span>integer <var>$height</var></span>, <span>integer <var>$x</var> = <span class="php-num">0</span></span>, <span>integer <var>$y</var> = <span class="php-num">0</span></span> )</code>

			<div class="description short">
				<p>Image resize</p>
			</div>

			<div class="description detailed hidden">
				<p>Image resize</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$width</var></dt>
						<dd></dd>
						<dt><var>$height</var></dt>
						<dd></dd>
						<dt><var>$x</var></dt>
						<dd>0</dd>
						<dt><var>$y</var></dt>
						<dd>0</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="resizePercent" id="_resizePercent">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_resizePercent">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#503-519" title="Go to source code">resizePercent</a>( <span>integer <var>$percent</var> = <span class="php-num">50</span></span> )</code>

			<div class="description short">
				<p>Image resize by percent</p>
			</div>

			<div class="description detailed hidden">
				<p>Image resize by percent</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$percent</var></dt>
						<dd>50</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="watermark" id="_watermark">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_watermark">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#522-570" title="Go to source code">watermark</a>( <span>string <var>$water</var></span>, <span>integer <var>$pos</var> = <span class="php-num">0</span></span>, <span>boolean <var>$tile</var> = <span class="php-keyword1">false</span></span> )</code>

			<div class="description short">
				<p>Image watermark</p>
			</div>

			<div class="description detailed hidden">
				<p>Image watermark</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$water</var></dt>
						<dd></dd>
						<dt><var>$pos</var></dt>
						<dd>0</dd>
						<dt><var>$tile</var></dt>
						<dd>false</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="watermarkTile" id="_watermarkTile">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_watermarkTile">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#573-583" title="Go to source code">watermarkTile</a>( <span>string <var>$water</var></span>, <span>integer|array <var>$pos</var> = <span class="php-num">0</span></span> )</code>

			<div class="description short">
				<p>Fill watermark tile</p>
			</div>

			<div class="description detailed hidden">
				<p>Fill watermark tile</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$water</var></dt>
						<dd></dd>
						<dt><var>$pos</var></dt>
						<dd>0</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="watermarkText" id="_watermarkText">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_watermarkText">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#586-647" title="Go to source code">watermarkText</a>( <span>string <var>$text</var></span>, <span>integer|array <var>$pos</var> = <span class="php-num">0</span></span>, <span>integer <var>$fontSize</var> = <span class="php-num">14</span></span>, <span>array <var>$color</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$font</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$shadow</var> = <span class="php-keyword1">true</span></span> )</code>

			<div class="description short">
				<p>Text watermark for image</p>
			</div>

			<div class="description detailed hidden">
				<p>Text watermark for image</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$text</var></dt>
						<dd></dd>
						<dt><var>$pos</var></dt>
						<dd>0</dd>
						<dt><var>$fontSize</var></dt>
						<dd>14</dd>
						<dt><var>$color</var></dt>
						<dd>null</dd>
						<dt><var>$font</var></dt>
						<dd>null</dd>
						<dt><var>$shadow</var></dt>
						<dd>true</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="setFontFile" id="_setFontFile">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_setFontFile">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#730-747" title="Go to source code">setFontFile</a>( <span>string <var>$fontFile</var></span> )</code>

			<div class="description short">
				<p>Set font file (FreeType font)</p>
			</div>

			<div class="description detailed hidden">
				<p>Set font file (FreeType font)</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$fontFile</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>

					<h4>Throws</h4>
					<div class="list">
						InvalidArgumentException
					</div>



			</div>
			</div></td>
		</tr>
		<tr data-order="display" id="_display">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_display">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#750-773" title="Go to source code">display</a>( <span>string <var>$type</var> = <span class="php-quote">'jpeg'</span></span> )</code>

			<div class="description short">
				<p>Display on browser</p>
			</div>

			<div class="description detailed hidden">
				<p>Display on browser</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$type</var></dt>
						<dd>jpeg</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="save" id="_save">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_save">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#776-810" title="Go to source code">save</a>( <span>string <var>$saveName</var></span>, <span>integer <var>$quality</var> = <span class="php-num">80</span></span> )</code>

			<div class="description short">
				<p>Saved image file</p>
			</div>

			<div class="description detailed hidden">
				<p>Saved image file</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$saveName</var></dt>
						<dd></dd>
						<dt><var>$quality</var></dt>
						<dd>80</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<br>$this
					</div>

					<h4>Throws</h4>
					<div class="list">
						ErrorException
					</div>



			</div>
			</div></td>
		</tr>
		<tr data-order="dataUrl" id="_dataUrl">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_dataUrl">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#813-837" title="Go to source code">dataUrl</a>( <span>string <var>$type</var> = <span class="php-quote">'jpeg'</span></span> )</code>

			<div class="description short">
				<p>Image to data url base64</p>
			</div>

			<div class="description detailed hidden">
				<p>Image to data url base64</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$type</var></dt>
						<dd>jpeg</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="destroy" id="_destroy">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_destroy">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#840-852" title="Go to source code">destroy</a>( <span>resource <var>$resource</var></span> )</code>

			<div class="description short">
				<p>Destroy image resource</p>
			</div>

			<div class="description detailed hidden">
				<p>Destroy image resource</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$resource</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="destroyAll" id="_destroyAll">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_destroyAll">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#855-871" title="Go to source code">destroyAll</a>( )</code>

			<div class="description short">
				<p>Destroy all image resource</p>
			</div>

			<div class="description detailed hidden">
				<p>Destroy all image resource</p>







			</div>
			</div></td>
		</tr>
		<tr data-order="__destruct" id="___destruct">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#___destruct">#</a>
			<code><a href="source-class-Slimore.Image.Gd.html#874-882" title="Go to source code">__destruct</a>( )</code>

			<div class="description short">
				<p>Destructor</p>
			</div>

			<div class="description detailed hidden">
				<p>Destructor</p>







			</div>
			</div></td>
		</tr>
			</table>
		</div>








		<div class="panel panel-default">
            <div class="panel-heading"><h2>Constants summary</h2></div>
			<table class="summary table table-bordered table-striped constants" id="constants">
			<tr data-order="THUMB_EQUAL_RATIO" id="THUMB_EQUAL_RATIO">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#25-28" title="Go to source code"><b>THUMB_EQUAL_RATIO</b></a>
					</code>

					<div class="description short">
						<p>Thumbnail modes</p>
					</div>

					<div class="description detailed hidden">
						<p>Thumbnail modes</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#THUMB_EQUAL_RATIO" class="anchor">#</a>
						<code><span class="php-num">0</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="THUMB_CENTER_CENTER" id="THUMB_CENTER_CENTER">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#29" title="Go to source code"><b>THUMB_CENTER_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#THUMB_CENTER_CENTER" class="anchor">#</a>
						<code><span class="php-num">1</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="THUMB_LEFT_TOP" id="THUMB_LEFT_TOP">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#30" title="Go to source code"><b>THUMB_LEFT_TOP</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#THUMB_LEFT_TOP" class="anchor">#</a>
						<code><span class="php-num">2</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_TOP_LEFT" id="CROP_TOP_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#32-35" title="Go to source code"><b>CROP_TOP_LEFT</b></a>
					</code>

					<div class="description short">
						<p>Crop positions</p>
					</div>

					<div class="description detailed hidden">
						<p>Crop positions</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_TOP_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'tl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_TOP_CENTER" id="CROP_TOP_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#36" title="Go to source code"><b>CROP_TOP_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_TOP_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'tc'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_TOP_RIGHT" id="CROP_TOP_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#37" title="Go to source code"><b>CROP_TOP_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_TOP_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'tr'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_CENTER_LEFT" id="CROP_CENTER_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#38" title="Go to source code"><b>CROP_CENTER_LEFT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_CENTER_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'cl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_CENTER_CENTER" id="CROP_CENTER_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#39" title="Go to source code"><b>CROP_CENTER_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_CENTER_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'center'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_CENTER_RIGHT" id="CROP_CENTER_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#40" title="Go to source code"><b>CROP_CENTER_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_CENTER_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'cr'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_BOTTOM_LEFT" id="CROP_BOTTOM_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#41" title="Go to source code"><b>CROP_BOTTOM_LEFT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_BOTTOM_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'bl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_BOTTOM_CENTER" id="CROP_BOTTOM_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#42" title="Go to source code"><b>CROP_BOTTOM_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_BOTTOM_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'bc'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="CROP_BOTTOM_RIGHT" id="CROP_BOTTOM_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#43" title="Go to source code"><b>CROP_BOTTOM_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#CROP_BOTTOM_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'br'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_TOP_LEFT" id="POS_TOP_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#45-48" title="Go to source code"><b>POS_TOP_LEFT</b></a>
					</code>

					<div class="description short">
						<p>Watermark positions</p>
					</div>

					<div class="description detailed hidden">
						<p>Watermark positions</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_TOP_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'tl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_TOP_CENTER" id="POS_TOP_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#49" title="Go to source code"><b>POS_TOP_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_TOP_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'tc'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_TOP_RIGHT" id="POS_TOP_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#50" title="Go to source code"><b>POS_TOP_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_TOP_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'tr'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_CENTER_LEFT" id="POS_CENTER_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#51" title="Go to source code"><b>POS_CENTER_LEFT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_CENTER_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'cl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_CENTER_CENTER" id="POS_CENTER_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#52" title="Go to source code"><b>POS_CENTER_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_CENTER_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'center'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_CENTER_RIGHT" id="POS_CENTER_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#53" title="Go to source code"><b>POS_CENTER_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_CENTER_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'cr'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_BOTTOM_LEFT" id="POS_BOTTOM_LEFT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#54" title="Go to source code"><b>POS_BOTTOM_LEFT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_BOTTOM_LEFT" class="anchor">#</a>
						<code><span class="php-quote">'bl'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_BOTTOM_CENTER" id="POS_BOTTOM_CENTER">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#55" title="Go to source code"><b>POS_BOTTOM_CENTER</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_BOTTOM_CENTER" class="anchor">#</a>
						<code><span class="php-quote">'bc'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_BOTTOM_RIGHT" id="POS_BOTTOM_RIGHT">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#56" title="Go to source code"><b>POS_BOTTOM_RIGHT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_BOTTOM_RIGHT" class="anchor">#</a>
						<code><span class="php-quote">'br'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_RAND" id="POS_RAND">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#57" title="Go to source code"><b>POS_RAND</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_RAND" class="anchor">#</a>
						<code><span class="php-num">0</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="POS_DEFAULT" id="POS_DEFAULT">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-Slimore.Image.Gd.html#58" title="Go to source code"><b>POS_DEFAULT</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#POS_DEFAULT" class="anchor">#</a>
						<code><span class="php-num">0</span></code>
					</div>
				</td>
			</tr>
			</table>
		</div>




		<div class="panel panel-default">
            <div class="panel-heading"><h2>Properties summary</h2></div>
			<table class="summary table table-bordered table-striped properties" id="properties">
		<tr data-order="source" id="$source">
			<td class="attributes"><code>
				public  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Image.Gd.html#60-63" title="Go to source code"><var>$source</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$source" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="fontFile" id="$fontFile">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Image.Gd.html#65-68" title="Go to source code"><var>$fontFile</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$fontFile" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="newImage" id="$newImage">
			<td class="attributes"><code>
				protected  
				resource
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Image.Gd.html#70-73" title="Go to source code"><var>$newImage</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$newImage" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="sourceImage" id="$sourceImage">
			<td class="attributes"><code>
				protected  
				resource
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Image.Gd.html#75-78" title="Go to source code"><var>$sourceImage</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$sourceImage" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
		<tr data-order="types" id="$types">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-Slimore.Image.Gd.html#80-83" title="Go to source code"><var>$types</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$types" class="anchor">#</a>
					<code>[<span class="php-quote">'gif'</span>, <span class="php-quote">'jpg'</span>, <span class="php-quote">'jpeg'</span>, <span class="php-quote">'png'</span>, <span class="php-quote">'bmp'</span>, <span class="php-quote">'webp'</span>]</code>
				</div>
			</td>
		</tr>
			</table>
		</div>






</div>
	</div>

	<div id="footer">
		Slimore API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
